<div id='recentTicket' class="liulan Box">
	<h3 class="title icon07">最近浏览</h3>
	<ul>
    	<?php
					if ($this->Session->check ( 'RecentTicket' )) {
						$recentTicket = $this->Session->read ( 'RecentTicket' );
					} else {
						$recentTicket = array ();
					}
					$recentTicket = array_reverse ( $recentTicket, true );
					$i = 0;
					foreach ( $recentTicket as $rt ) :
						$i ++;
						if ($i > 6)
							break;
						?>
    	<li><span></span>
    		<?php
						
echo $this->Html->link ( $rt ['Ticket'] ['title'], TicketView ( $rt ), array (
								'title' => $rt ['Ticket'] ['title'] 
						) )?>
    	</li>
    	<?php endforeach;?>
	</ul>
</div>
